inherited frmRepaireEdit: TfrmRepaireEdit
  Left = 289
  Top = 44
  Width = 876
  Height = 655
  Caption = #32500#20462#20449#24687#24405#20837
  PixelsPerInch = 96
  TextHeight = 12
  inherited StatusBar1: TStatusBar
    Top = 595
    Width = 860
  end
  inherited Toolbar: TRzToolbar
    Width = 860
    ToolbarControls = (
      tbmenu
      RzSpacer1
      tbprior
      tbnext
      tbsearcher
      tbcopy
      RzSpacer2
      tbnew
      tbedit
      tbdelete
      tbsave
      RzSpacer3
      tbcensor
      tbsubmit
      tbexit)
    inherited tbsearcher: TRzToolButton
      Visible = False
    end
    inherited tbcensor: TRzToolButton
      Visible = False
    end
    inherited tbsubmit: TRzToolButton
      Visible = False
    end
  end
  inherited toppanel: TRzPanel
    Width = 860
    Height = 245
    Color = 10092543
    object RzLabel1: TRzLabel
      Left = 210
      Top = 20
      Width = 60
      Height = 13
      AutoSize = False
      Caption = #21333#25454#26085#26399
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -13
      Font.Name = #23435#20307
      Font.Style = []
      ParentFont = False
    end
    object RzLabel2: TRzLabel
      Left = 421
      Top = 81
      Width = 60
      Height = 12
      AutoSize = False
      Caption = #20986#36710#37324#31243
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -13
      Font.Name = #23435#20307
      Font.Style = []
      ParentFont = False
    end
    object RzLabel3: TRzLabel
      Left = 210
      Top = 81
      Width = 60
      Height = 12
      AutoSize = False
      Caption = #26381#21153#31867#21035
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -13
      Font.Name = #23435#20307
      Font.Style = []
      ParentFont = False
    end
    object RzLabel4: TRzLabel
      Left = 421
      Top = 20
      Width = 60
      Height = 13
      AutoSize = False
      Caption = #21333#25454#32534#30721
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -13
      Font.Name = #23435#20307
      Font.Style = []
      ParentFont = False
    end
    object RzLabel7: TRzLabel
      Left = 643
      Top = 78
      Width = 60
      Height = 17
      AutoSize = False
      Caption = #26381#21153#20154#21592
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -13
      Font.Name = #23435#20307
      Font.Style = []
      ParentFont = False
    end
    object RzLabel8: TRzLabel
      Left = 210
      Top = 112
      Width = 60
      Height = 12
      AutoSize = False
      Caption = #26381#21153#24037#26102
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -13
      Font.Name = #23435#20307
      Font.Style = []
      ParentFont = False
    end
    object RzLabel9: TRzLabel
      Left = 421
      Top = 112
      Width = 60
      Height = 12
      AutoSize = False
      Caption = #26381#21153#36153#29992
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -13
      Font.Name = #23435#20307
      Font.Style = []
      ParentFont = False
    end
    object RzLabel10: TRzLabel
      Left = 643
      Top = 112
      Width = 60
      Height = 12
      AutoSize = False
      Caption = #22791'   '#27880
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -13
      Font.Name = #23435#20307
      Font.Style = []
      ParentFont = False
    end
    object RzLabel16: TRzLabel
      Left = 210
      Top = 50
      Width = 60
      Height = 12
      AutoSize = False
      Caption = #25972#36710#32534#21495
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -13
      Font.Name = #23435#20307
      Font.Style = []
      ParentFont = False
    end
    object RzLabel17: TRzLabel
      Left = 421
      Top = 50
      Width = 60
      Height = 12
      AutoSize = False
      Caption = #21457#21160#26426#21495
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -13
      Font.Name = #23435#20307
      Font.Style = []
      ParentFont = False
    end
    object RzLabel18: TRzLabel
      Left = 643
      Top = 50
      Width = 60
      Height = 12
      AutoSize = False
      Caption = #20445#20462#21333#21495
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -13
      Font.Name = #23435#20307
      Font.Style = []
      ParentFont = False
    end
    object RzLabel14: TRzLabel
      Left = 643
      Top = 21
      Width = 60
      Height = 12
      AutoSize = False
      Caption = #21046#21333#20154
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -13
      Font.Name = #23435#20307
      Font.Style = []
      ParentFont = False
    end
    object RzLabel15: TRzLabel
      Left = 16
      Top = 40
      Width = 185
      Height = 39
      Caption = #32500#20462#35760#24405#21333
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -37
      Font.Name = #21326#25991#34892#26999
      Font.Style = []
      ParentFont = False
      Transparent = True
      Blinking = True
      BlinkColor = clRed
      BorderColor = clRed
      BorderShadow = clPurple
      FlyByColor = clInactiveBorder
      FlyByEnabled = True
      LightTextStyle = True
      Rotation = roFlat
      TextStyle = tsShadow
    end
    object RzDBDateTimeEdit1: TRzDBDateTimeEdit
      Left = 266
      Top = 16
      Width = 150
      Height = 20
      DataSource = MasterDataSource
      DataField = 'OrderDate'
      TabOrder = 0
      EditType = etDate
    end
    object RzDBEdit1: TRzDBEdit
      Left = 481
      Top = 16
      Width = 150
      Height = 20
      DataSource = MasterDataSource
      DataField = 'OrderNumber'
      ReadOnly = True
      Color = clInfoBk
      TabOrder = 1
    end
    object RzDBButtonEdit1: TRzDBButtonEdit
      Left = 266
      Top = 46
      Width = 150
      Height = 20
      DataSource = MasterDataSource
      DataField = 'CarNo'
      TabOrder = 3
      OnChange = RzDBButtonEdit1Change
    end
    object RzDBEdit2: TRzDBEdit
      Left = 482
      Top = 77
      Width = 150
      Height = 20
      DataSource = MasterDataSource
      DataField = 'mileage'
      TabOrder = 7
    end
    object RzDBComboBox1: TRzDBComboBox
      Left = 266
      Top = 77
      Width = 150
      Height = 20
      DataField = 'RaStyle'
      DataSource = MasterDataSource
      ItemHeight = 12
      TabOrder = 6
      Items.Strings = (
        #20445#20859
        #32500#20462
        #19977#21253
        #20854#20182)
    end
    object RzDBEdit3: TRzDBEdit
      Left = 697
      Top = 77
      Width = 150
      Height = 20
      DataSource = MasterDataSource
      DataField = 'ServiceMan'
      TabOrder = 8
    end
    object RzDBEdit4: TRzDBEdit
      Left = 266
      Top = 108
      Width = 150
      Height = 20
      DataSource = MasterDataSource
      DataField = 'ServiceHour'
      TabOrder = 9
    end
    object RzDBEdit5: TRzDBEdit
      Left = 481
      Top = 108
      Width = 150
      Height = 20
      DataSource = MasterDataSource
      DataField = 'ServiceCharge'
      TabOrder = 10
    end
    object RzDBEdit6: TRzDBEdit
      Left = 697
      Top = 17
      Width = 150
      Height = 20
      DataSource = MasterDataSource
      DataField = 'ActorName'
      ReadOnly = True
      Color = clInfoBk
      TabOrder = 2
    end
    object RzDBEdit9: TRzDBEdit
      Left = 481
      Top = 46
      Width = 150
      Height = 20
      DataSource = dsContractItem
      DataField = 'ENNO'
      ReadOnly = True
      Color = clInfoBk
      ParentShowHint = False
      ShowHint = False
      TabOrder = 4
    end
    object RzDBEdit10: TRzDBEdit
      Left = 697
      Top = 46
      Width = 150
      Height = 20
      DataSource = dsContractItem
      DataField = 'WarrantyCard'
      ReadOnly = True
      Color = clInfoBk
      ParentShowHint = False
      ShowHint = False
      TabOrder = 5
    end
    object RzGroupBox1: TRzGroupBox
      Left = 8
      Top = 128
      Width = 410
      Height = 100
      TabOrder = 13
      Transparent = True
      object RzLabel5: TRzLabel
        Left = 2
        Top = 20
        Width = 60
        Height = 12
        AutoSize = False
        Caption = #29616#35937#25551#36848
        Font.Charset = GB2312_CHARSET
        Font.Color = clWindowText
        Font.Height = -13
        Font.Name = #23435#20307
        Font.Style = []
        ParentFont = False
        Transparent = True
      end
      object RzLabel6: TRzLabel
        Left = 2
        Top = 59
        Width = 60
        Height = 12
        AutoSize = False
        Caption = #22788#29702#26041#27861
        Font.Charset = GB2312_CHARSET
        Font.Color = clWindowText
        Font.Height = -13
        Font.Name = #23435#20307
        Font.Style = []
        ParentFont = False
        Transparent = True
      end
      object RzDBMemo1: TRzDBMemo
        Left = 66
        Top = 16
        Width = 339
        Height = 34
        DataField = 'Symptom'
        DataSource = MasterDataSource
        TabOrder = 0
      end
      object RzDBMemo2: TRzDBMemo
        Left = 66
        Top = 59
        Width = 339
        Height = 34
        DataField = 'HandleMethod'
        DataSource = MasterDataSource
        TabOrder = 1
      end
    end
    object RzGroupBox2: TRzGroupBox
      Left = 425
      Top = 124
      Width = 421
      Height = 101
      TabOrder = 12
      Transparent = True
      object RzLabel11: TRzLabel
        Left = 4
        Top = 20
        Width = 60
        Height = 12
        AutoSize = False
        Caption = #23458#25143#30830#35748
        Font.Charset = GB2312_CHARSET
        Font.Color = clWindowText
        Font.Height = -13
        Font.Name = #23435#20307
        Font.Style = []
        ParentFont = False
        Transparent = True
      end
      object RzLabel12: TRzLabel
        Left = 217
        Top = 20
        Width = 60
        Height = 12
        AutoSize = False
        Caption = #32852#31995#30005#35805
        Font.Charset = GB2312_CHARSET
        Font.Color = clWindowText
        Font.Height = -13
        Font.Name = #23435#20307
        Font.Style = []
        ParentFont = False
        Transparent = True
      end
      object RzLabel13: TRzLabel
        Left = 4
        Top = 58
        Width = 60
        Height = 12
        AutoSize = False
        Caption = #22238#35775#32467#26524
        Font.Charset = GB2312_CHARSET
        Font.Color = clWindowText
        Font.Height = -13
        Font.Name = #23435#20307
        Font.Style = []
        ParentFont = False
        Transparent = True
      end
      object RzDBEdit7: TRzDBEdit
        Left = 58
        Top = 16
        Width = 152
        Height = 20
        DataSource = MasterDataSource
        DataField = 'LinkMan'
        TabOrder = 0
      end
      object RzDBEdit8: TRzDBEdit
        Left = 278
        Top = 16
        Width = 139
        Height = 20
        DataSource = MasterDataSource
        DataField = 'LinkTelphone'
        TabOrder = 1
      end
      object RzDBMemo4: TRzDBMemo
        Left = 57
        Top = 58
        Width = 358
        Height = 38
        DataField = 'ReturnVisit'
        DataSource = MasterDataSource
        TabOrder = 2
      end
    end
    object RzDBEdit11: TRzDBEdit
      Left = 697
      Top = 108
      Width = 150
      Height = 20
      DataSource = MasterDataSource
      DataField = 'ORDERNOTE'
      TabOrder = 11
    end
  end
  inherited PageControl: TRzPageControl
    Top = 289
    Width = 860
    Height = 306
    ParentColor = False
    TabHeight = 25
    TabStyle = tsCutCorner
    FixedDimension = 25
    inherited TabSheet1: TRzTabSheet
      inherited RzPanel1: TRzPanel
        Width = 856
        Visible = False
      end
      inherited DBGrid: TDBGridEh
        Width = 856
        Height = 228
        DataSource = DetailDataSource
        EvenRowColor = clGradientInactiveCaption
        Flat = True
        Font.Height = -13
        Options = [dgEditing, dgTitles, dgColumnResize, dgColLines, dgRowLines, dgTabs, dgConfirmDelete, dgCancelOnExit]
        OptionsEh = [dghFixed3D, dghHighlightFocus, dghClearSelection, dghEnterAsTab, dghDialogFind, dghColumnResize, dghColumnMove]
        ParentFont = False
        UseMultiTitle = True
        Columns = <
          item
            EditButtons = <>
            FieldName = 'productname'
            Footers = <>
            Title.Caption = #37197#20214#21517#31216
            Title.Font.Charset = GB2312_CHARSET
            Title.Font.Color = clNavy
            Title.Font.Height = -13
            Title.Font.Name = #23435#20307
            Title.Font.Style = []
            Width = 80
          end
          item
            EditButtons = <>
            FieldName = 'oldnum'
            Footers = <>
            Title.Caption = #26087#20214#32534#21495
            Title.Font.Charset = GB2312_CHARSET
            Title.Font.Color = clNavy
            Title.Font.Height = -13
            Title.Font.Name = #23435#20307
            Title.Font.Style = []
            Width = 100
          end
          item
            EditButtons = <>
            FieldName = 'newnum'
            Footers = <>
            Title.Caption = #26032#20214#32534#21495
            Title.Font.Charset = GB2312_CHARSET
            Title.Font.Color = clNavy
            Title.Font.Height = -13
            Title.Font.Name = #23435#20307
            Title.Font.Style = []
            Width = 100
          end
          item
            EditButtons = <>
            FieldName = 'price'
            Footers = <>
            Title.Caption = #20215#26684
            Title.Font.Charset = GB2312_CHARSET
            Title.Font.Color = clNavy
            Title.Font.Height = -13
            Title.Font.Name = #23435#20307
            Title.Font.Style = []
            Width = 80
          end
          item
            EditButtons = <>
            FieldName = 'balancetype'
            Footers = <>
            KeyList.Strings = (
              #19977#21253
              #33258#20184
              #20813#36153)
            PickList.Strings = (
              #19977#21253
              #33258#20184
              #20813#36153)
            Title.Caption = #32467#31639#26041#24335
            Title.Font.Charset = GB2312_CHARSET
            Title.Font.Color = clNavy
            Title.Font.Height = -13
            Title.Font.Name = #23435#20307
            Title.Font.Style = []
            Width = 80
          end
          item
            EditButtons = <>
            FieldName = 'providername'
            Footers = <>
            Title.Caption = #37197#20214#21378#23478
            Title.Font.Charset = GB2312_CHARSET
            Title.Font.Color = clNavy
            Title.Font.Height = -13
            Title.Font.Name = #23435#20307
            Title.Font.Style = []
            Width = 120
          end
          item
            EditButtons = <>
            FieldName = 'itemnote'
            Footers = <>
            Title.Caption = #22791#27880
            Title.Font.Charset = GB2312_CHARSET
            Title.Font.Color = clNavy
            Title.Font.Height = -13
            Title.Font.Name = #23435#20307
            Title.Font.Style = []
            Width = 200
          end>
      end
    end
  end
  inherited MasterDataSource: TDataSource
    DataSet = qryRepairOrder
    Left = 216
    Top = 32
  end
  inherited DetailDataSource: TDataSource
    DataSet = qryRepairProduct
    Left = 552
    Top = 504
  end
  inherited ActionList: TActionList
    Left = 824
    Top = 320
  end
  inherited DetailsPopupMenu: TPopupMenu
    Left = 216
    Top = 280
  end
  inherited FrameController: TRzFrameController
    Left = 440
    Top = 384
  end
  object qryRepairOrder: TADOQuery
    Connection = CommonData.conn
    CursorType = ctStatic
    Parameters = <
      item
        Name = 'orderid'
        Attributes = [paSigned]
        DataType = ftInteger
        Precision = 10
        Size = 4
        Value = Null
      end>
    SQL.Strings = (
      'select * from repairorder where orderid=:orderid'
      ' ')
    Left = 272
    Top = 28
    object qryRepairOrderOrderID: TIntegerField
      FieldName = 'OrderID'
    end
    object qryRepairOrderOrderNumber: TStringField
      FieldName = 'OrderNumber'
    end
    object qryRepairOrderOrderDate: TDateTimeField
      FieldName = 'OrderDate'
    end
    object qryRepairOrderRaStyle: TStringField
      FieldName = 'RaStyle'
    end
    object qryRepairOrdermileage: TBCDField
      FieldName = 'mileage'
      Precision = 18
      Size = 2
    end
    object qryRepairOrderSymptom: TStringField
      FieldName = 'Symptom'
      Size = 100
    end
    object qryRepairOrderHandleMethod: TStringField
      FieldName = 'HandleMethod'
      Size = 100
    end
    object qryRepairOrderCarNo: TStringField
      FieldName = 'CarNo'
      Size = 40
    end
    object qryRepairOrdermaintainHour: TStringField
      FieldName = 'maintainHour'
      Size = 30
    end
    object qryRepairOrderServiceMan: TStringField
      FieldName = 'ServiceMan'
      Size = 60
    end
    object qryRepairOrderServiceHour: TStringField
      FieldName = 'ServiceHour'
      Size = 30
    end
    object qryRepairOrderServiceCharge: TBCDField
      FieldName = 'ServiceCharge'
      Precision = 18
      Size = 2
    end
    object qryRepairOrderLinkMan: TStringField
      FieldName = 'LinkMan'
      Size = 30
    end
    object qryRepairOrderLinkTelphone: TStringField
      FieldName = 'LinkTelphone'
      Size = 40
    end
    object qryRepairOrderReturnVisit: TStringField
      FieldName = 'ReturnVisit'
      Size = 80
    end
    object qryRepairOrderORDERNOTE: TStringField
      FieldName = 'ORDERNOTE'
      Size = 80
    end
    object qryRepairOrderOrderState: TStringField
      FieldName = 'OrderState'
    end
    object qryRepairOrdercensor: TStringField
      FieldName = 'censor'
    end
    object qryRepairOrderiscensor: TStringField
      FieldName = 'iscensor'
      FixedChar = True
      Size = 2
    end
    object qryRepairOrderActorName: TStringField
      FieldName = 'ActorName'
    end
    object qryRepairOrderOrderType: TStringField
      FieldName = 'OrderType'
    end
    object qryRepairOrderCompanyID: TIntegerField
      FieldName = 'CompanyID'
    end
  end
  object qryRepairProduct: TADOQuery
    Connection = CommonData.conn
    CursorType = ctStatic
    LockType = ltBatchOptimistic
    Parameters = <
      item
        Name = 'orderid'
        Attributes = [paSigned]
        DataType = ftInteger
        Precision = 10
        Size = 4
        Value = Null
      end>
    SQL.Strings = (
      'select * from repairproduct  where orderid=:orderid')
    Left = 592
    Top = 500
  end
  object qryContractItem: TADOQuery
    Connection = CommonData.conn
    Parameters = <
      item
        Name = 'carno'
        Attributes = [paNullable]
        DataType = ftString
        NumericScale = 255
        Precision = 255
        Size = 40
        Value = Null
      end>
    SQL.Strings = (
      'select * from contractitem where carno=:carno')
    Left = 288
    Top = 108
  end
  object dsContractItem: TDataSource
    DataSet = qryContractItem
    Left = 232
    Top = 100
  end
end
